package com.ruoyi.project.xiaoye.plan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 计划表 t_plan
 * 
 * @author xiaoye
 * @date 2018-09-15
 */
public class Plan extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private Integer id;
	/** 正文 */
	private String content;
	/** 计划时间 */
	private Date planDate;
	/** 计划类型 */
	private Integer planType;
	/** 创建人 */
	private Integer creater;
	/** 创建时间 */
	private Date createDate;
	/** 修改时间 */
	private Date updaeDate;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setContent(String content) 
	{
		this.content = content;
	}

	public String getContent() 
	{
		return content;
	}
	public void setPlanDate(Date planDate) 
	{
		this.planDate = planDate;
	}

	public Date getPlanDate() 
	{
		return planDate;
	}
	public void setPlanType(Integer planType) 
	{
		this.planType = planType;
	}

	public Integer getPlanType() 
	{
		return planType;
	}
	public void setCreater(Integer creater) 
	{
		this.creater = creater;
	}

	public Integer getCreater() 
	{
		return creater;
	}
	public void setCreateDate(Date createDate) 
	{
		this.createDate = createDate;
	}

	public Date getCreateDate() 
	{
		return createDate;
	}
	public void setUpdaeDate(Date updaeDate) 
	{
		this.updaeDate = updaeDate;
	}

	public Date getUpdaeDate() 
	{
		return updaeDate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("content", getContent())
            .append("planDate", getPlanDate())
            .append("planType", getPlanType())
            .append("creater", getCreater())
            .append("createDate", getCreateDate())
            .append("updaeDate", getUpdaeDate())
            .toString();
    }
}
